package cn.study.luckyinfrastructure.gateway.iml.mapper;

import cn.study.luckyclient.dto.query.ActivityListByParamQuery;
import cn.study.luckyinfrastructure.gateway.iml.dataObject.ActivityDB;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.databind.ser.Serializers;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ActivityMapper extends BaseMapper<ActivityDB> {
    IPage<ActivityDB> page(@Param("page") Page<ActivityDB>page, @Param("query") ActivityListByParamQuery query);
}
